import request from '@/utils/request'

// 卡单规则列表
export function apiUserKadanLists(params: any) {
    return request.get({ url: '/user.user_kadan/lists', params })
}

// 添加卡单规则
export function apiUserKadanAdd(params: any) {
    return request.post({ url: '/user.user_kadan/add', params })
}

// 编辑卡单规则
export function apiUserKadanEdit(params: any) {
    return request.post({ url: '/user.user_kadan/edit', params })
}

// 删除卡单规则
export function apiUserKadanDelete(params: any) {
    return request.post({ url: '/user.user_kadan/delete', params })
}

// 卡单规则详情
export function apiUserKadanDetail(params: any) {
    return request.get({ url: '/user.user_kadan/detail', params })
}